import request from '@/utils/request'

// 查询SysXsshWorkOrderBi列表
export function listSysXsshWorkOrderBi(query) {
  return request({
    url: '/system/SysXsshWorkOrderBi/list',
    method: 'get',
    params: query
  })
}

// 查询SysXsshWorkOrderBi详细
export function getSysXsshWorkOrderBi(wkYear) {
  return request({
    url: '/system/SysXsshWorkOrderBi/' + wkYear,
    method: 'get'
  })
}

// 新增SysXsshWorkOrderBi
export function addSysXsshWorkOrderBi(data) {
  return request({
    url: '/system/SysXsshWorkOrderBi',
    method: 'post',
    data: data
  })
}

// 修改SysXsshWorkOrderBi
export function updateSysXsshWorkOrderBi(data) {
  return request({
    url: '/system/SysXsshWorkOrderBi',
    method: 'put',
    data: data
  })
}

// 删除SysXsshWorkOrderBi
export function delSysXsshWorkOrderBi(wkYear) {
  return request({
    url: '/system/SysXsshWorkOrderBi/' + wkYear,
    method: 'delete'
  })
}
